#include <iostream>
//Here is the use of input and output functions of c++ language

using namespace std;

int main()
{
    char str[20];

    cout << "Enter a string: ";
    //cin >> str;
    cin.get(str,20);
    cout << "you entered : " << str << endl;

    cin.get();
    cout << "Enter an other string: ";
    //cin >> str;
    cin.getline(str,20);
    cout << "you entered : " << str << endl;
    return 0;
    
    // The two cin methods will will store the length of the 
    // variable if the input exceeds the size of the received variable -1

        
}